Skip to content

Conversation

@ne0rrmatrix
Copy link
Member

  • Bug fix

Description of Change

Fix build warning messages for android when using Camera app in any project. More about transient dependancies can be found here. #2492

Linked Issues

  • Fixes #

PR Checklist

  • Has a linked Issue, and the Issue has been approved(bug) or Championed (feature/proposal)
  • Has tests (if omitted, state reason in description)
  • Has samples (if omitted, state reason in description)
  • Rebased on top of main at time of PR
  • Changes adhere to coding standard
  • Documentation created or updated: https://github.com/MicrosoftDocs/CommunityToolkit/pulls

Additional information

This will fix build warnings in android about a bunch of transient dependancies. This PR is not required but highly advised that we keep on top of the changes in android from Maui team and android team. We need to keep both camera and media element updated to close to current release as there dependancies are all interdpedant with various bits from Maui team and android team.

Copy link
Collaborator

@TheCodeTraveler TheCodeTraveler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks James!

@TheCodeTraveler TheCodeTraveler merged commit 62f4e2d into CommunityToolkit:main Feb 4, 2025
10 checks passed
<PackageReference Include="Xamarin.AndroidX.Camera.Camera2" Version="1.4.1" />
<PackageReference Include="Xamarin.AndroidX.Camera.View" Version="1.4.1" />

<!-- Increase Minimum Version of Transient Dependencies For Xamarin.AndroidX.Camera.Camera2 and Xamarin.AndroidX.Camera.View -->
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need them. we can update the required packages to 1.4.1.1

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating the required packages will just mean upating the transient dependancies. It is an ongoing issue. I have a discussion open about this and I have marked it as a topic for thursday meeting. We need to keep camera and media elment up to date because of issues. ATM not all the depeendacies are lining up in the new packages from last year.

@github-actions github-actions bot locked and limited conversation to collaborators Feb 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants